/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package horizon.animations;

import horizon.component.Animation;

public class AnimationCache {
    
    public static Animation playerWalkForward;
    public static Animation playerWalkBack;
    public static Animation playerWalkRight;
    public static Animation playerWalkLeft;
    public static Animation playerIdle;
    
    
    public static void loadAnimations(){
        
        String[] i = {"pilot"};
        int[] it = {100};
        playerIdle = new Animation(i , it , true);
        
        String[] b = {"pilot 1,1" , "pilot 1,2"};
        int[] bt = {300 , 300};
        playerWalkBack = new Animation(b , bt , true);
        
        String[] f = {"pilot 2,1" , "pilot 2,2"};
        int[] ft = {300 , 300};
        playerWalkForward = new Animation(f , ft , true);
        
        playerWalkRight = new Animation(b , bt , true);
        
        playerWalkLeft = new Animation(b , bt , true);
        
    }
    
}
